Skip to content

Bump the bundler group across 1 directory with 4 updates - #27

Merged
naik-aakash merged 1 commit into
mainfrom
dependabot/bundler/bundler-178a2f4ee2
Dec 4, 2026
Merged

naik-aakash merged 1 commit into
mainfrom
dependabot/bundler/bundler-178a2f4ee2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor

Bumps the bundler group with 4 updates in the / directory: activesupport, addressable, loofah and nokogiri.

Updates activesupport from 8.0.4.1 to 8.0.5.2

Release notes

Sourced from activesupport's releases.

8.0.5.2

Active Support

  • ActiveSupport::Inflector#safe_constantize matches the constant name in a LoadError message as a literal string instead of building a Regexp from it.

    The name's segments were interpolated unescaped into the pattern, so input that reaches safe_constantize, such as the channel identifier in an Action Cable subscribe command, chose the source passed to the regexp compiler.

    [GHSA-8474-xrp6-wh69]

    Jeremy Daer

Active Model

  • No changes.

Active Record

  • No changes.

Action View

  • Skip attribute names in tag helpers that are blank once converted to a string.

    A Symbol such as :" " is not blank, because Symbol#blank? is Symbol#empty?, so it reached the escaping step and produced an attribute with no name. The asset helpers symbolize their keys, so an ordinary String key reached the same place.

    [GHSA-68p9-83h6-5wpj]

    Mike Dalessio

  • Fix strip_tags to encode " and ' in its output.

    strip_tags returns an html_safe string, but was not encoding quotation marks. The method now encodes all five HTML-significant characters (&, <, >, ", '), consistent with the existing html_safe convention.

    Output used outside HTML, such as in a text template or JSON, now contains &quot; and &[#39](https://github.com/rails/rails/issues/39); where it contained " and '. CGI.unescapeHTML decodes them.

    [GHSA-rq8q-p985-fjq7]

... (truncated)

Commits
  • 235c597 Preparing for 8.0.5.2 release
  • 210ac22 Avoid dynamic regexp in safe_constantize LoadError handling
  • beef74d Preparing for 8.0.5.1 release
  • eb126bb Preparing for 8.0.5 release
  • f7fe4a5 Merge branch '8-0-sec' into 8-0-stable
  • 0b0daad [DOC] Update CHANGELOG with key overwrite precedence note
  • 40acbf7 Merge pull request #56679 from Saidbek/fix-overlapping-acronyms-order
  • 1fce0fc Merge pull request #56652 from zzak/re-56588
  • 0f76f88 Handle Ruby 4.1 stabby lambda in Proc#source_location start_column
  • ba53739 Add missing with_info_handler removed in ec62932ee7
  • Additional commits viewable in compare view

Updates addressable from 2.9.0 to 2.10.0

Changelog

Sourced from addressable's changelog.

Addressable 2.10.0

Breaking changes

  • Ruby 3.2 and earlier and JRuby 9.4 are no longer supported, and loading Addressable on them gives a deprecation warning when deprecation warnings are turned on, as with -W:deprecated (#706)
  • Addressable::URI::RULE_2A, RULE_2B_2C, RULE_2D and RULE_PREFIXED_PARENT, deprecated in 2.9.1, are removed (#669)
  • Addressable::URI setters, .new and #merge raise for false instead of treating it as nil (#667)
  • Addressable::URI#port= and .new raise InvalidURIError for a port with a line break, such as "8080\nx" (#663)
  • Addressable::URI setters, .new and .parse raise InvalidURIError for a port above 65535 in a URI whose scheme has a default port, such as http://example.com:70000/, and for a port above the largest integer Ruby stores without a bignum, 2**62 - 1 on 64-bit platforms, in any URI (#711)
  • Addressable::URI#origin= raises InvalidURIError for a string with a path, query or fragment, which it dropped, and for one with userinfo that has a colon, from which it took the host: https://user:pass@example.com raises instead of setting the host to user (#616, [GHSA-cwmp-x65r-27fv])
  • Addressable::URI.parse, .new and the host setters raise InvalidURIError for brackets in a host that don't enclose an IPv6 address or IPvFuture literal, such as http://[127.0.0.1]/ or http://example[.]com/, which they accepted ([GHSA-c7j3-jq7p-v3pr])
  • Addressable::URI#host=, #authority=, .new and .parse raise InvalidURIError for a colon in a host outside the brackets of an IP literal, such as example.com:8080 or http://a:b:80/, which they accepted ([GHSA-w5p3-7836-69vh])
  • Addressable::URI#user=, #password=, #userinfo=, #authority=, .new and .parse raise InvalidURIError for /, ?, #, [, ] or \ in the user or password, or : in the user, which they accepted: uri.password = "#secret" raises, and a password with these characters has to be pct-encoded first ([GHSA-qrq6-rcpx-pmm6])
  • The strings a frozen Addressable::URI holds are frozen, so changing one, as in uri.host << "x", raises FrozenError (#668)
  • Addressable::Template#expand, #partial_expand, #match, #extract and #to_regexp raise InvalidTemplateError for a template that doesn't match the RFC 6570 grammar, which expansion kept as text and matching read as literal text (#660, #693, #697)
  • Addressable::Template reads a prefix modifier outside 1 to 9999 or with a leading zero, such as {var:0}, {var:05} or {var:10000}, as malformed: #expand, #partial_expand, #match, #extract and #to_regexp raise InvalidTemplateError where they used to expand or match it, and #variables ignores the expression (#618, #693, #697)
  • Addressable::Template reads the operators RFC 6570 reserves, =, ,, !, @ and |, as malformed: #expand, #partial_expand, #match, #extract and #to_regexp raise InvalidTemplateOperatorError where expansion used to treat {!var} like {var}, and #variables ignores the expression (#660, #693, #697)
  • Addressable::Template#expand and #partial_expand raise InvalidTemplateValueError for a prefix modifier on a list or associative array (#660)
  • With the native backend, Addressable::IDNA.punycode_encode and .punycode_decode raise IDN::Punycode::PunycodeError for a string with a NUL, where they converted only the text before it: punycode_encode("a\u0000b") gave "a-" ([GHSA-mrrj-5mhw-rcf2])
  • The pure-Ruby Addressable::IDNA.to_ascii raises Addressable::IDNA::InvalidLabel for a label that breaks the bidi rule of RFC 3454, such as exampleא, where it returned an A-label, as idn-ruby raises IDN::Idna::IdnaError; Addressable::URI#normalize keeps such a host pct-encoded: http://example%D7%90.test/ gives itself, not http://xn--example-c5i.test/ ([GHSA-fccw-gx6q-mh6c])
  • Addressable::Template#match and #extract only read a pair in a ;, ? or & expression as the pair of a variable that isn't exploded when the name is one of the expression's variables, and only as many times as the expression has the name, and otherwise don't match: {?q} on ?admin=true gives nil, not {"q" => nil, "admin" => "true"} ([GHSA-q5vw-6v74-fg2g])
  • A processor's match pattern for a ;, ? or & variable that isn't exploded matches only the variable's value, as documented, so Addressable::Template#match and #extract no longer match a pattern that includes the name, such as page=\d+ ([GHSA-q5vw-6v74-fg2g])
  • The pure-Ruby Addressable::IDNA.to_ascii raises Addressable::IDNA::InvalidLabel for a label made only of characters nameprep maps to nothing, such as U+200B ZERO WIDTH SPACE in "\u200B.example", where it returned an A-label, as idn-ruby raises IDN::Idna::IdnaError (#703, #714)

Changed output

  • Addressable::URI#normalize, #==, #===, .normalized_encode, the pure-Ruby Addressable::IDNA.to_ascii and Addressable::Template#expand, #match and #extract leave a run of more than 30 combining marks as it is instead of normalizing it, so they take linear time on any Ruby: e followed by 31 U+0301 keeps the e and all 31 marks, not é and 30 ([GHSA-v6hg-69pc-4f3f])
  • Addressable::URI.heuristic_parse("localhost:3000") gives http://localhost:3000, not localhost:3000 with a localhost scheme (#691)
  • Addressable::URI#route_from and #route_to give ./, not ../, for a route that would climb above the root (#648)
  • Addressable::URI#query_values reads + as a space in query names too, and for uppercase HTTP and HTTPS: ?a+b=c gives {"a b" => "c"}, not {"a+b" => "c"} (#607)
  • Addressable::URI#request_uri percent-encodes control characters and spaces: /a b?q=1 gives /a%20b?q=1, not /a b?q=1 ([GHSA-qg8x-qm93-fw27])
  • Addressable::URI#normalize and .normalized_encode keep U+037E GREEK QUESTION MARK pct-encoded instead of turning it into a ; delimiter: /a%CD%BEb gives /a%CD%BEb, not /a;b (#712)
  • Addressable::URI#normalize keeps U+037E GREEK QUESTION MARK in a query: ?a=%CD%BE gives ?a=%CD%BE, not ?a=%3B (#712)
  • Addressable::Template#expand treats an empty list or associative array as undefined and leaves out nil members: {?list} with [] gives nothing, not ?list= (#611)
  • Addressable::Template#expand keeps pct-encoded triplets in reserved and fragment expansion: {+id} with admin%2F gives admin%2F, not admin%252F (#656)
  • Addressable::Template#expand gives ;a=, not ;a, for {;a} with [""] (#689)
  • Addressable::Template#expand gives ;a;a=y, not ;a=;a=y, for {;a*} with ["", "y"] (#688)
  • Addressable::Template#expand pct-encodes non-ASCII literals: café/{var} gives caf%C3%A9/value, not café/value (#676)
  • Addressable::Template#match and #extract read a label value that contains . when the expression is set off by delimiters: /f{.ext} on /f.tar.gz gives {"ext" => "tar.gz"}, not nil, so code that tries several templates may pick a different one (#692)
  • Addressable::Template#match and #extract keep the empty members of an exploded value: {/segments*} on /a/b/ gives {"segments" => ["a", "b", ""]}, not {"segments" => ["a", "b"]}, and on / gives {"segments" => [""]}, not {"segments" => []} (#700)
  • Addressable::Template#match and #extract give a variable that's repeated in an expression its first value: {+v1,v2,v1} on a,b,c gives {"v1" => "a", "v2" => "b"}, not {"v1" => "", "v2" => "a"} ([GHSA-xj9m-f88p-5j38])
  • Addressable::Template#match and #extract give a value that more than one variable of a /, ., +, # or default expression could take to the first of them, leaving a later variable undefined when nothing is left for it: {/a,b*} on /x/y/z gives {"a" => "x", "b" => ["y", "z"]}, not {"a" => "", "b" => ["x", "y", "z"]} (#715)
  • The pure-Ruby Addressable::IDNA.to_ascii and .to_unicode keep trailing empty labels, as idn-ruby does: bücher.example. gives xn--bcher-kva.example., not xn--bcher-kva.example (#609)
  • The pure-Ruby Addressable::IDNA.to_ascii treats U+3002 and U+FF61 as label separators, as idn-ruby does: bücher。example gives xn--bcher-kva.example, not xn--bcherexample-dlb0569n ([GHSA-x378-rg7m-2c49])
  • Addressable::IDNA.to_unicode and Addressable::URI#display_uri leave an A-label as it is when it decodes to ASCII other than letters, digits and hyphens, or starts or ends with a hyphen: xn--mn,chen-n2a gives xn--mn,chen-n2a, not mün,chen (#716)

Addressable::URI

  • Fix #normalize, #normalized_host, #origin and #== turning a pct-encoded or fullwidth colon in the host into the port delimiter: http://example.com%3A8080/ normalizes to itself, not http://example.com:8080/ ([GHSA-w5p3-7836-69vh])
  • Fix #normalize and #normalized_host decoding a host twice: http://127%252E0%252E0%252E1/ normalizes to http://127%252e0%252e0%252e1/, not http://127.0.0.1/ ([GHSA-w5p3-7836-69vh])

... (truncated)

Commits
  • a12466a Revving version and changelog for 2.10.0 (#725)
  • a8091e5 Skip the regexp timing specs on the macOS Intel runner (#724)
  • 3ac28a7 Show the undefined variable in the README's extract example (#723)
  • 0b48642 Credit GHSA-cwmp-x65r-27fv in the origin= changelog entry (#722)
  • 8025e4e Skip the template regexp timing specs on JRuby on Windows (#721)
  • aede313 Build committed template regexps faster (#719)
  • 0219401 Decode pct-encoded bytes into a binary copy in URI.unencode (#720)
  • 153a1b7 Fix CI on Ruby 2.3 to 2.6 and keep TruffleRuby within its time limit (#718)
  • aed6f93 Merge commit from fork
  • de9e404 Merge commit from fork
  • Additional commits viewable in compare view

Updates loofah from 2.25.2 to 2.25.3

Release notes

Sourced from loofah's releases.

2.25.3 / 2026-11-01

Security

  • Ensure Loofah::HTML5::Scrub.allowed_uri? rejects schemes split by a numeric character reference without a semicolon that ends at a character allowed_uri? strips (e.g. javascript&#x3a alert(1)) or at another character reference (e.g. javascript&#x3a&#x61;lert(1)). Character references are now decoded before anything is stripped, as browsers do. See GHSA-p9wj-w8xq-vjx6. @​flavorjones
  • Ensure Loofah::HTML5::Scrub.allowed_uri? recognizes the named character reference &sol;, which CGI.unescapeHTML does not decode and browsers read as /, and rejects data: URIs that disguise a disallowed mediatype with it (e.g. data:text&sol;html,<script>alert(1)</script>). Previously that mediatype was treated as malformed and fell back to the allowed text/plain. Only v2.25.2 is affected. See GHSA-jcff-cj73-4w4f. @​flavorjones
  • Ensure Loofah::HTML5::Scrub.scrub_css does not decode CSS escapes in identifiers. Previously, escaped parentheses (e.g. url\28 http://example.com/\29) came out as a live url(), which could make the viewer's browser fetch an attacker-chosen URL. See GHSA-m3x9-938q-5767. @​flavorjones
  • Ensure that href and xlink:href on SVG textPath and mpath elements are restricted to local (same-document) references. Previously SVG_ALLOW_LOCAL_HREF spelled textPath in lowercase, which never matched the name the HTML5 parser assigns inside <svg>, and omitted mpath entirely. See GHSA-345x-3rq2-jfrm. @​flavorjones
  • Fix quadratic-time scrubbing of the href and xlink:href attributes of SVG elements. Only Ruby 3.1 and earlier are affected, because Ruby 3.2 introduced linear-time regexp matching. See GHSA-mf2j-8f84-cc9q. @​flavorjones
  • Ensure HTML5 scrubber output does not turn into new markup when a browser parses it again. The fix is in Nokogiri v1.19.5, which escapes < and > in attribute values as the HTML standard requires, so Loofah now requires Nokogiri >= 1.19.5. See GHSA-h6v6-rg66-fqj4. @​flavorjones @​hackvertor

Dependencies

  • Loofah now requires Ruby >= 3.2, the minimum that Nokogiri v1.19.x supports. We don't like dropping Ruby versions in a patch release, and we're sorry for the inconvenience, but it's the only way to make sure everyone gets the security fix in GHSA-h6v6-rg66-fqj4.

Added

  • Loofah::HTML5::Scrub.prefixed_attribute_name and Loofah::HTML5::Scrub.scrub_attribute_value expose the html5lib attribute name and value rules, so downstream consumers can apply them instead of carrying their own copy. @​flavorjones

Fixed

  • Fix :double_breakpoint, which left document fragments unchanged despite its documented example. The scrubber now changes only paragraphs inside the scrubbed node, and its run time on a document grows linearly, not quadratically, with the paragraph count. #309 @​OskarEichler
  • Fix :whitewash, which passed CDATA sections through unchanged. Markup inside a CDATA section in Loofah.xml_fragment or Loofah.xml_document survived scrubbing and became live elements if the output was later parsed as HTML. The scrubber now escapes CDATA content, as :strip, :prune and :escape already do. On JRuby, every sanitizer now emits escaped CDATA content as a CDATA section, as on CRuby, instead of a text node that double-escaped it. #313 @​flavorjones (reported by @​MegaManSec)
  • Fix :double_breakpoint, which raised NoMethodError on a paragraph that ends with a <br> after a double break. #314 @​flavorjones (reported by @​MegaManSec)
  • Fix Loofah::HTML5::Scrub.allowed_uri?, which raised Encoding::CompatibilityError on a string in an encoding other than UTF-8 and ArgumentError on invalid UTF-8. It now transcodes the input to UTF-8 and returns false when the input has an invalid byte sequence or no UTF-8 representation. #315 @​flavorjones

New Contributors

Full Changelog: flavorjones/loofah@v2.25.2...v2.25.3

Changelog

Sourced from loofah's changelog.

2.25.3 / 2026-11-01

Security

  • Ensure Loofah::HTML5::Scrub.allowed_uri? rejects schemes split by a numeric character reference without a semicolon that ends at a character allowed_uri? strips (e.g. javascript&#x3a alert(1)) or at another character reference (e.g. javascript&#x3a&#x61;lert(1)). Character references are now decoded before anything is stripped, as browsers do. See GHSA-p9wj-w8xq-vjx6. @​flavorjones
  • Ensure Loofah::HTML5::Scrub.allowed_uri? recognizes the named character reference &sol;, which CGI.unescapeHTML does not decode and browsers read as /, and rejects data: URIs that disguise a disallowed mediatype with it (e.g. data:text&sol;html,<script>alert(1)</script>). Previously that mediatype was treated as malformed and fell back to the allowed text/plain. Only v2.25.2 is affected. See GHSA-jcff-cj73-4w4f. @​flavorjones
  • Ensure Loofah::HTML5::Scrub.scrub_css does not decode CSS escapes in identifiers. Previously, escaped parentheses (e.g. url\28 http://example.com/\29) came out as a live url(), which could make the viewer's browser fetch an attacker-chosen URL. See GHSA-m3x9-938q-5767. @​flavorjones
  • Ensure that href and xlink:href on SVG textPath and mpath elements are restricted to local (same-document) references. Previously SVG_ALLOW_LOCAL_HREF spelled textPath in lowercase, which never matched the name the HTML5 parser assigns inside <svg>, and omitted mpath entirely. See GHSA-345x-3rq2-jfrm. @​flavorjones
  • Fix quadratic-time scrubbing of the href and xlink:href attributes of SVG elements. Only Ruby 3.1 and earlier are affected, because Ruby 3.2 introduced linear-time regexp matching. See GHSA-mf2j-8f84-cc9q. @​flavorjones
  • Ensure HTML5 scrubber output does not turn into new markup when a browser parses it again. The fix is in Nokogiri v1.19.5, which escapes < and > in attribute values as the HTML standard requires, so Loofah now requires Nokogiri >= 1.19.5. See GHSA-h6v6-rg66-fqj4. @​flavorjones @​hackvertor

Dependencies

  • Loofah now requires Ruby >= 3.2, the minimum that Nokogiri v1.19.x supports. We don't like dropping Ruby versions in a patch release, and we're sorry for the inconvenience, but it's the only way to make sure everyone gets the security fix in GHSA-h6v6-rg66-fqj4.

Added

  • Loofah::HTML5::Scrub.prefixed_attribute_name and Loofah::HTML5::Scrub.scrub_attribute_value expose the html5lib attribute name and value rules, so downstream consumers can apply them instead of carrying their own copy. @​flavorjones

Fixed

  • Fix :double_breakpoint, which left document fragments unchanged despite its documented example. The scrubber now changes only paragraphs inside the scrubbed node, and its run time on a document grows linearly, not quadratically, with the paragraph count. #309 @​OskarEichler
  • Fix :whitewash, which passed CDATA sections through unchanged. Markup inside a CDATA section in Loofah.xml_fragment or Loofah.xml_document survived scrubbing and became live elements if the output was later parsed as HTML. The scrubber now escapes CDATA content, as :strip, :prune and :escape already do. On JRuby, every sanitizer now emits escaped CDATA content as a CDATA section, as on CRuby, instead of a text node that double-escaped it. #313 @​flavorjones (reported by @​MegaManSec)
  • Fix :double_breakpoint, which raised NoMethodError on a paragraph that ends with a <br> after a double break. #314 @​flavorjones (reported by @​MegaManSec)
  • Fix Loofah::HTML5::Scrub.allowed_uri?, which raised Encoding::CompatibilityError on a string in an encoding other than UTF-8 and ArgumentError on invalid UTF-8. It now transcodes the input to UTF-8 and returns false when the input has an invalid byte sequence or no UTF-8 representation. #315 @​flavorjones
Commits
  • bbe007e version bump to v2.25.3
  • a390863 Merge pull request #324 from flavorjones/card-933-release-v2-25-3
  • 7f20aba doc: fix up CHANGELOG
  • 30924ba build: require Ruby >= 3.2
  • 7ba1e7b fix: require Nokogiri >= 1.19.5 to prevent mXSS in HTML5 scrubbers
  • 41c681b doc: fix up CHANGELOG
  • 5431ea9 doc: update CHANGELOG
  • 62c0484 fix: allowed_uri? bypass via a stripped reference terminator
  • ad92002 Update allowed_uri? to handle the named solidus character reference
  • d3ae9eb doc: update CHANGELOG
  • Additional commits viewable in compare view

Updates nokogiri from 1.19.4 to 1.19.7

Release notes

Sourced from nokogiri's releases.

v1.19.7 / 2026-11-02

Fixed

  • [CRuby] Compile against Ruby 4.1.0-preview1, which defines HAVE_RB_LEN_T but not RB_FIX2LEN. (#3755) @​andrewfader
8f5e15d299602456406e1f03a9f3456cceb33a0722811e818d2ee2214eb4c84a  nokogiri-1.19.7-aarch64-linux-gnu.gem
efe0c3602e6e54521bc21c681930ce5568e2d11203de17400710b2b3ca2e4cb4  nokogiri-1.19.7-aarch64-linux-musl.gem
7fd1907125691aa89e838cc91161761c758b4e17bb32f0dd9b5515a82cc759af  nokogiri-1.19.7-arm-linux-gnu.gem
28d0ff0c87b6bb2e56580323a6fb049d5d4a02b94f0958fdd47e9ac146991c77  nokogiri-1.19.7-arm-linux-musl.gem
f27d7f25f4873fbc3aa35a2cc2fb680c98555fec1925348da439d0869d541142  nokogiri-1.19.7-arm64-darwin.gem
3c97c2874993b890386ac487c41578d173e10621d80c2063830d032839487c3b  nokogiri-1.19.7-java.gem
9ab6ea96ab479a5ff391196de73b5abf660926ea7e4c57cb1f35adf754f1d066  nokogiri-1.19.7-x64-mingw-ucrt.gem
508e81e8c5f84aaa240dce981bf1c43faae60808726f0ce7024ee92effc5cafe  nokogiri-1.19.7-x86_64-darwin.gem
25865ccb462f714e712fdf8906fde07849cb6704a808e3d629d75baa5af5dd3b  nokogiri-1.19.7-x86_64-linux-gnu.gem
464d1f3dfb0d53cf54c0c6a7e23e8e91cf68ec3cafc2b27dc4a7682f2d9bf546  nokogiri-1.19.7-x86_64-linux-musl.gem
abe94507c54cb18f872777b16bdca4aad32b1abdc4c52fe843f1c80fbdf992b8  nokogiri-1.19.7.gem

Full Changelog: sparklemotion/nokogiri@v1.19.6...v1.19.7

v1.19.6 / 2026-11-02

Fixed

  • [JRuby] Parsing or reparenting an HTML4 element that has an xmlns attribute and a child element no longer raises NullPointerException. This was a regression in v1.19.5. (#3753) @​flavorjones
746fca23be3cd3f121cabab65cb44c52049e4cf9f0d36e7e8c3c0eb6cc298c57  nokogiri-1.19.6-aarch64-linux-gnu.gem
4a5620da1c52150e0343bd2bba7dbd9b3899b5eb41687dc1942c9092d81e52a3  nokogiri-1.19.6-aarch64-linux-musl.gem
574e50ddd99ed71aaa868027d84eb3b9f051e55fe07ddc844e4fdd654be953fc  nokogiri-1.19.6-arm-linux-gnu.gem
c20ea8d8c92cbaa475f0952f755dea88cf6e3ace8b49d634a0a5385a1feaea10  nokogiri-1.19.6-arm-linux-musl.gem
0a89005ba8cf40c7bd580f4c0873f5f11e5866a99e364764fb59ac6516f560d0  nokogiri-1.19.6-arm64-darwin.gem
4068744c2afb9c2596666a5b02fe633be1c58abb3bf2c9d06c962ede95c55fba  nokogiri-1.19.6-java.gem
b5768c5dab09abe39e6e1329f692db191688398964f7d2c18caaa19aa00f5421  nokogiri-1.19.6-x64-mingw-ucrt.gem
8f15f820fa1373d8685ae48cdd8020d923b4104db74d149d1235ddae956469a6  nokogiri-1.19.6-x86_64-darwin.gem
ad1e228c3bc873e4f4fc4f845d7e37b4d3648af537acd7b5e8463cce5693065b  nokogiri-1.19.6-x86_64-linux-gnu.gem
c92b29e897f4ddc19bea67188695aab667f695e74592a5c8741642ecb25d34d9  nokogiri-1.19.6-x86_64-linux-musl.gem
a61e7192fc2691c23bc0241907c4dbcb70ada6ab904796ce2426a57171022c8f  nokogiri-1.19.6.gem
</tr></table> 

... (truncated)

Changelog

Sourced from nokogiri's changelog.

v1.19.7 / 2026-11-02

Fixed

  • [CRuby] Compile against Ruby 4.1.0-preview1, which defines HAVE_RB_LEN_T but not RB_FIX2LEN. (#3755) @​andrewfader

v1.19.6 / 2026-11-02

Fixed

  • [JRuby] Parsing or reparenting an HTML4 element that has an xmlns attribute and a child element no longer raises NullPointerException. This was a regression in v1.19.5. (#3753) @​flavorjones

v1.19.5 / 2026-11-01

Security

  • [CRuby] (Low) Fixed a possible use-after-free when an attribute value is replaced via Node#[]= or Node#lang= while Ruby objects still reference the attribute's children. See GHSA-3w22-6jfg-527w for more information.
  • [CRuby] (Low) The HTML5 serializer now escapes text inside noscript unless the document was parsed with parse_noscript_content_as_text: true, preventing a mutation XSS in applications that allow noscript in sanitized HTML. A fragment now parses noscript content the same way as its document, and raises ArgumentError if given a conflicting parse_noscript_content_as_text: value. Comments and raw-text elements inside noscript are still serialized unchanged, as the HTML standard requires, so applications that sanitize HTML and allow noscript should parse with parse_noscript_content_as_text: true or remove noscript elements. See GHSA-4p39-36wj-23h4 for more information.
  • [JRuby] (Low) NONET now blocks external DTDs and entities whose systemId uses a short-form IPv4 host such as 127.1, or is an absolute path in a document parsed from a network URL. Previously Nokogiri fetched them over the network during a parse with DTDLOAD or NOENT, potentially enabling SSRF. See GHSA-v995-44v6-5fqm for more information.

Improved

  • [CRuby] The HTML5 parser now has linear performance when parsing many attributes. Previously performance was quadratic due to two hotspots, one in detecting duplicate attributes and one in constructing the libxml2 data structures. (#3393) @​flavorjones
  • [CRuby] Improved XPath argument marshalling performance by using ALLOCV_N instead of rb_gc_register_address. (#3648) @​jhawthorn

Fixed

  • Node#namespace= now declares the namespace on the node when no declaration of its prefix is in scope there. Previously, on CRuby, a node given a namespace and then moved under an element that binds the same prefix, or the default namespace, to a different URI was serialized in that other namespace. On JRuby, the namespace was missing from Node#namespace_definitions. (#3459, #3462) @​flavorjones
  • XML::Reader is no longer affected by changes made to its source String after the reader is created. Previously, such a change could make the reader parse the changed String on JRuby, or changed or freed memory on CRuby with libxml2 < 2.11. (#3694) @​flavorjones
  • Node#namespace = false now raises TypeError. Previously it crashed the process on CRuby and raised ClassCastException on JRuby. (#3719) @​flavorjones
  • XML::XPathContext.new and XML::XPathContext#node= raise TypeError when the argument is not a Node. Previously, on CRuby, most such arguments crashed the process. (#3720) @​flavorjones
  • CSS an+b selectors with a zero or negative step now follow the Selectors spec: :nth-child(0n+3) matches only the third element (previously nothing), 0n-1 matches nothing instead of raising ZeroDivisionError, and -n+0 / -2n match nothing instead of every (or every other) element. @​afurm
  • CSS #id, .class and attribute selectors whose value contains a quote character, such as #it\'s or [a=\'b\'], now match that value. Previously they raised Nokogiri::XML::XPath::SyntaxError or generated an XPath query with a different meaning. An #id selector containing an escaped newline no longer drops the text after it. (#3724, #3727) @​flavorjones
  • CSS :contains() arguments, custom pseudo-class string arguments, and element names containing a CSS escape, such as p:contains('it\'s') or a\-b, now match. Previously they raised Nokogiri::XML::XPath::SyntaxError. An element name that is not an XML name after unescaping, such as a\!b, raises Nokogiri::CSS::SyntaxError, except as an unprefixed name in an HTML5 document, where it matches by local name. In ids, classes, attribute values, element names and string arguments, an escape for U+0000, a surrogate, or a code point above U+10FFFF now decodes to U+FFFD, and a vertical tab after a hexadecimal escape is no longer dropped, as CSS Syntax Level 3 requires. (#3728, #3729) @​flavorjones
  • CSS attribute names containing a CSS escape, such as [a\-b], now match. Previously they raised Nokogiri::XML::XPath::SyntaxError. An unprefixed attribute name that cannot be written as an XPath name test after unescaping, such as [\@click] or [\:class], matches an attribute with that exact name in no namespace. The HTML parsers create such attributes. A prefixed one, such as [x|a\!b], raises Nokogiri::CSS::SyntaxError. (#3732, #3735) @​flavorjones
  • [CRuby] The HTML5 serializer escapes < and > in attribute values as &lt; and &gt;, following whatwg/html#6362. Previously they were written literally. (#3529, #3741) @​flavorjones
  • [CRuby] Reparenting removes a node's declaration of a prefix that the new parent binds to the same URI. (#3462) @​flavorjones
  • [CRuby] Builder now correctly builds namespaced nodes that define their own namespace when that ns prefix collides with one defined by the parent (or another ancestor). (#3458, #3461) @​flavorjones
  • [CRuby] Reader.outer_xml and .inner_xml properly capture syntax errors. (#3558) @​flavorjones
  • [CRuby] XML::SAX::PushParser and HTML4::SAX::PushParser keep parsing correctly after GC compaction relocates their SAX parser. (#3665) @​zanker
  • [CRuby] XML::Reader keeps reading correctly when GC compaction runs. Previously, compaction could move the IO or String the reader was created from, and the reader then crashed or parsed the wrong bytes. (#3666, #3668) @​zanker
  • [CRuby] XSLT::Stylesheet#transform calls custom XSLT extension functions correctly when GC compaction runs. Previously, after compaction moved a stylesheet that uses an extension module, a later transform raised an exception or crashed. (#3667) @​jeremy
  • [CRuby] XSLT::Stylesheet#transform passes the correct params when GC compaction runs while it converts a param with #to_str. Previously, compaction could move the bytes of earlier short params, and the transform raised RuntimeError or silently left a param empty. (#3670) @​flavorjones
  • [CRuby] XML::SAX::ParserContext.io and HTML4::SAX::ParserContext.io keep parsing correctly after GC compaction relocates the IO. (#3669) @​zanker
  • [CRuby] Document#canonicalize passes the correct inclusive namespace prefixes when it converts a prefix with #to_str, and when GC compaction runs during canonicalization. Previously, libxml2 could read freed or moved memory, and the output lost namespaces or Ruby crashed. Raising on a prefix with a null byte also no longer leaks memory. (#3714, #3750) @​Priyank-gouda678 @​flavorjones
  • [CRuby] XSLT::Stylesheet#transform calls custom XSLT extension functions correctly when GC compaction runs during the transform. Previously, compaction could move an extension handler instance, and a later call to one of its functions raised an exception or crashed. (#3748) @​flavorjones

... (truncated)

Commits
  • cb8cd03 version bump to v1.19.7
  • 51ffdd7 Merge pull request #3756 from sparklemotion/card-940-rb-fix2len-preview1-v1-19-x
  • 0ad11d1 doc: say Ruby 4.1.0-preview1 lacks only RB_FIX2LEN
  • d884dcf Define RB_NUM2LEN and RB_FIX2LEN independently of HAVE_RB_LEN_T
  • b0702e6 version bump to v1.19.6
  • 9d2cf65 Merge pull request #3754 from sparklemotion/card-936-jruby-relink-namespace-n...
  • cbb5855 fix(jruby): avoid NPE on HTML4 elements with an xmlns attribute
  • 724ef47 version bump to v1.19.5
  • 60e801b Merge pull request #3752 from sparklemotion/card-931-v1-19-5-backport
  • ce1a138 ci: bump ruby/setup-ruby to v1.335.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the bundler group with 4 updates in the / directory: [activesupport](https://github.com/rails/rails), [addressable](https://github.com/sporkmonger/addressable), [loofah](https://github.com/flavorjones/loofah) and [nokogiri](https://github.com/sparklemotion/nokogiri).


Updates `activesupport` from 8.0.4.1 to 8.0.5.2
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.1.4.1/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v8.0.4.1...v8.0.5.2)

Updates `addressable` from 2.9.0 to 2.10.0
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](sporkmonger/addressable@addressable-2.9.0...addressable-2.10.0)

Updates `loofah` from 2.25.2 to 2.25.3
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md)
- [Commits](flavorjones/loofah@v2.25.2...v2.25.3)

Updates `nokogiri` from 1.19.4 to 1.19.7
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.19.4...v1.19.7)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-version: 8.0.5.2
  dependency-type: indirect
  dependency-group: bundler
- dependency-name: addressable
  dependency-version: 2.10.0
  dependency-type: indirect
  dependency-group: bundler
- dependency-name: loofah
  dependency-version: 2.25.3
  dependency-type: indirect
  dependency-group: bundler
- dependency-name: nokogiri
  dependency-version: 1.19.7
  dependency-type: indirect
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Dec 3, 2026
@naik-aakash
naik-aakash merged commit ffd4582 into main Dec 4, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/bundler/bundler-178a2f4ee2 branch December 4, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant